﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<MyMainSite.Models.Admin.LogonModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

	<% using (Html.BeginForm())
	{%>

	<% if (this.Model != null && this.Model.LogonResult == false)
	{ %>
        <div class="ui-widget">
			<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"> 
				<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
				<strong>Alert:</strong> Please enter a valid username/password.</p>
			</div>
		</div>
    <% } %>

	<p>
		<%: Html.LabelFor(m => m.UserName) %>
		<%: Html.TextBoxFor(m => m.UserName) %>
	</p>
	<p>
		<%: Html.LabelFor(m => m.Password)%>
		<%: Html.PasswordFor(m => m.Password)%>
	</p>
	<p>
		<input type="submit" value="Submit" />
	</p>

	<% } %>

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="contentLeftMenu" runat="server">
</asp:Content>
